package mysql

import "github.com/jinzhu/gorm"

type Student struct {
	gorm.Model
	Number    string `gorm:"type:varchar(30);not null;"`
	IdCard    string `gorm:"type:varchar(18);not null;"`
	RealName  string `gorm:"type:varchar(20);not null;"`
	Mobile    string `gorm:"type:varchar(11);not null;"`
	Job       string `gorm:"type:varchar(10);not null;"`
	HeadImg   string `gorm:"type:varchar(200);not null;"`
	TeaCherId int64  `gorm:"type:int;not null;"`
}
